@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

.lodop_download_box {
  display: block;
  position: absolute;
  left: 20px;
  top: 15px;
  z-index: 9999;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.mr-5 {
  margin-right: 5px;
}

.ml-5 {
  margin-left: 5px;
}

.mb-5 {
  margin-bottom: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}


//search-box
.search-box {
  margin-bottom: 20px;
}

.el-card__header {
  padding: 14px 20px;
}

.large-form {
  width: 800px;
}

.medium-form {
  width: 600px;
}

.small-form {
  width: 450px;
}

.mini-form {
  width: 250px;
}

.red {
  color: #ff6000;
}

.green {
  color: #00a040;
}

.orange {
  color: #e6a23c;
}

.inline-btn {
  padding-top: 0px;
  padding-bottom: 0px;
}

.form-item-tip {
  margin: 0px 8px;
  line-height: 32px;
  color: #9400D3;
  font-weight: 500;
  font-size: 14px;
}

.hidden {
  display: none;
}

.filter-columns {

  .el-checkbox {
    margin-bottom: 10px;
    width: 116px;
    margin-right: 20px;
    overflow: hidden;
  }

  .el-checkbox__label {
    display: inline-block;
    padding-left: 8px;

  }
}

//department tree panel
.d-tree-panel {
  position: absolute;
  top: 58px;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 8px 12px;
  overflow: auto;
}

.d-disabled-true {
  text-decoration: line-through;
  color: #999999;
}

//employ layout
.e-left-sider {
  width: 230px !important;
  padding: 10px 6px 10px 6px;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
}

.e-right-main {
  position: absolute;
  top: 0;
  left: 230px;
  bottom: 0px;
  right: 0;
  padding: 10px 12px 4px 12px;
  overflow: auto;
}

//asset class layout
.c-main-panel {
  position: absolute;
  top: 58px;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 8px 12px;
  overflow: auto;

  .c-main-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 350px;
    padding: 8px 12px;
    overflow: auto;
  }

  .c-main-right {
    position: absolute;
    top: 0;
    left: 350px;
    bottom: 0;
    right: 0;
    padding: 8px 12px;
    overflow: auto;
  }
}

// bill layout
.a-right-sider {
  width: 290px !important;
  padding: 0px 6px 10px 6px;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  background: #e9eef3;
}

.add-detail-tip {
  p {
    font-size: 12px;
    color: lightseagreen;
  }
}

.product-tip-msg {
  color: red;
  padding-left: 90px;
  font-size: 14px;
  line-height: 28px;
}

.a-left-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 290px;
  height: 148px;
  padding: 12px 15px 0px 15px;
  overflow: auto;
}

.a-left-center {
  position: absolute;
  top: 148px;
  left: 0;
  bottom: 0px;
  right: 290px;
  padding: 8px 12px 4px 12px;
  overflow: auto;
}

.a-left-main {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0px;
  right: 290px;
  padding: 8px 12px 4px 12px;
  overflow: auto;
}

.bill-sum-label {
  line-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  display: inline-block;
}

.bill-sum-value {
  line-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: blue;
  display: inline-block;
  padding-right: 5px;
  min-width: 40px;
}

.bill-sum-value-red {
  line-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #ff3300;
  display: inline-block;
  padding-right: 5px;
  min-width: 40px;
}

.bill-sum-value-green {
  line-height: 36px;
  font-size: 14px;
  font-weight: 600;
  color: #00aa33;
  display: inline-block;
  padding-right: 5px;
  min-width: 40px;
}

//bill -show
.main-bill-header {
  margin-bottom: 4px;

  td {
    padding: 5px 3px;
    font-size: 15px;
    font-weight: 500;
  }
}

.main-bill-footer td {
  padding: 5px 3px;
  font-size: 14px;
}

.main-bill-footer p {
  margin: 8px 4px;
}

.main-bill-sum td {
  padding: 5px 3px;
  font-size: 14px;
  font-weight: 500;
  color: #337ab7;
}

.process-diagram-image {
  min-height: 30px;
}

.apply-comment-content {
  margin-top: 10px;
  border: 1px solid #5b6bb3;
}

.append-files-box {
  margin-left: 20px;

  a {
    line-height: 28px;
    margin-right: 20px;
    color: blue;
    display: block;
  }
}

.upload-tip {
  display: inline-block;
  line-height: 32px;
  font-size: 14px;
}


.table-bordered {
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #ddd !important;
}



.table-bordered>thead>tr>th {
  padding: 12px 10px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
  color: #909399;
}

.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
  padding: 10px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid #ddd;
  color: #555555;
}

//add by easyj
.el-table--medium td {
  padding: 7px 0;
}

.el-table--small td {
  padding: 5px 0;
}

.el-form-item--small.el-form-item {
  margin-bottom: 12px;
}

.el-button--text:hover,
.el-button--text:focus {
  color: #c000ff;
}

.el-dialog__header {
  padding: 10px 20px;
  background: linear-gradient(to right, #9999ff, #ffffff);

}

.el-dialog__headerbtn {
  top: 10px;
}

.toolbar-box .el-button--medium {
  padding: 10px 15px;
}

.search-box .el-button--medium {
  padding: 10px 15px;
}

.tabs-dialog {
  .el-dialog__body {
    padding-top: 0px !important;
  }

  .form-tab-panel {
    height: 400px;
    overflow: auto;
  }

}

.tabs-dialog-left {
  .el-dialog__body {
    padding-top: 12px !important;
  }

  .data-tab-panel {
    height: 510px;
    overflow: auto;
  }
}


.el-image-viewer__mask {
  opacity: .85;
}

.el-menu-item {
  line-height: 46px;
  height: 46px;
}

.el-submenu__title {
  line-height: 50px;
  height: 50px;
}

.billinfo-table {
  font-size: 14px;
  text-align: center;
  margin-bottom: 20px;
  border-spacing: 20px 0px;

  td {
    border-bottom: 1px solid #e8f1ff;
    margin: 4px;
    padding: 8px 6px;
  }

  .bill-item {
    display: flex;

    label {
      width: 90px;
      font-weight: 400;
      line-height: 24px;
      color: #5b6bb3;
      text-align: left;
      display: block;
      justify-content: left;
    }

    p {
      line-height: 24px;
      margin: 0px;
      text-align: left;
      justify-content: center;
    }
  }

  .bill-item-1 {
    display: flex;

    label {
      width: 110px;
      font-weight: 400;
      line-height: 24px;
      color: #5b6bb3;
      text-align: left;
      display: block;
      justify-content: left;
    }

    p {
      line-height: 24px;
      margin: 0px;
      text-align: left;
      justify-content: center;
    }
  }

  .bill-item-2 {
    display: flex;

    label {
      width: 74px;
      font-weight: 400;
      line-height: 20px;
      color: #5b6bb3;
      text-align: left;
      display: block;
      justify-content: left;
    }

    p {
      line-height: 20px;
      margin: 0px;
      text-align: left;
      justify-content: center;
    }
  }
}

.ast-status-0 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #ff66cc;
}

.ast-status-1 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #00cc33;
}

.ast-status-2 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #409eff;
}


.ast-status-3 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #ffcc00;
}

.ast-status-9 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #666699;
}

.ast-status-10 {
  display: inline-block;
  color: #ffffff;
  padding: 3px 6px;
  background-color: #666666;
}

.cell .el-button--text {
  padding-top: 6px;
  padding-bottom: 6px;
}


// asset label print template
.label-preview {
  background-color: #fff;
  overflow: hidden;
}

.label-table {
  border-spacing: 0;
  border: 2px solid #000;
  border-collapse: collapse;
}

.label-table td {
  border: 1px solid #000;
  line-height: 1.5;
  padding: 0 3px;
}

.label-barcode {
  max-width: 95%;
}

.chart-box {
  background: #fff;

  .header {
    display: flex;
    flex-direction: row;
    align-items: center;

    .chart-title {
      margin-left: 5px;
      margin-right: 5px;
    }

    .chart-search {
      flex: 1;
      text-align: right;
    }
  }

  .footer {
    text-align: right;
    padding: 0px 12px 10px 12px;

    .disactive {
      color: #999 !important;
    }
  }
}

.right-approve-panel {
  background-color: #ffffcc;
  height: 100%;
  padding: 5px;

  .approve-footer {
    text-align: right;
  }
}

.approve-tr {
  background-color: #f3f3fc;

  .content-span {
    line-height: 24px;
    display: inline-block;
    margin-right: 30px;
  }
}

.approve-msg-box {
  text-align: left;

}

.approve-msg-item {
  margin-bottom: 12px;
  border-bottom: 1px dotted skyblue;
}

.el-tag+.el-tag {
  margin-left: 10px;
  margin-bottom: 10px;
}

.button-new-tag {
  margin-left: 10px;
  height: 32px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

.transfer-user-box {
  padding: 10px;
  border: 1px dashed #f0f5f0;
  margin: 20px 8px;
}

.transfer-user-box-label {
  line-height: 32px;
  color: #337ab7;
}